package com.lzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lzy.entity.Student;
import com.lzy.vo.StudentWithClassVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-04-25
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    List<Student> getAll();

    IPage getPage(Page<StudentWithClassVO> page, HashMap param);
}
